package com.it.zhangjun.design.pattern.statePattern;

/**
 * @className: CloseState
 * @description: 汽车关闭状态
 * @author: z00018123
 * @date: 2021/4/29
 **/
public class CloseState extends CarState {
    /**
     * /打开汽车门
     */
    @Override
    protected void open() {

    }

    /**
     * 关闭汽车门
     */
    @Override
    protected void close() {
        System.out.println("汽车门已关闭...");
    }

    /**
     * 汽车在飞奔
     */
    @Override
    protected void run() {

    }

    /**
     * 汽车在停止
     */
    @Override
    protected void stop() {

    }
}
